package com.example.runlian.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PathController {
    /**
     * 跳转到 主管理界面
     */
    @RequestMapping("manage/main.html")
    public String pathMainManage(){
        return "manage/mainTitleManage";
    }
    /**
     * 跳转到 副标题管理界面
     */
    @RequestMapping("manage/second.html")
    public String pathSecondManage(){
        return "manage/secondTitleManage";
    }

    /**
     * 跳转到 描述信息管理界面
     */
    @RequestMapping("manage/desinfo.html")
    public String pathDesInfoManage(){
        return "manage/desInfoManage";
    }

    /**
     * 跳转到 图片管理界面
     */
    @RequestMapping("manage/picture.html")
    public String pathPictureManage(){
        return "manage/pictureManage";
    }

    /**
     * 跳转到 海报界面
     */
    @RequestMapping({"/","index.html","index"})
    public String pathIndexManage(){
        return "index";
    }
}
